package com.tqjc.system.common.constant;


/**
 * 全局常量类
 * @author teli_
 *
 */
public class GlobalConstant {
	
	/**
	 * 验证码存放Key
	 */
	public static final String SESSION_KEY_OF_RAND_CODE = "randCode"; // todo 要统一常量

	/**
	 * layui表格默认排序赋值的字段
	 */
	public static final String Order_Field = "field";//排序字段
	public static final String Order_Type = "order";//排序类型
	
	/**
	 * 没有权限进行此操作
	 */
	public static final String Err_Msg_No_Auth = "没有权限进行此操作";
	public static final String Err_Msg_All = "系统错误，请联系管理员";
	
	/**
	 * 默认创建人
	 */
	public static final String Default_Create_Name = "system";


	public static final String STRING_IP = "ip";


	public static final String HTTPSTATUS_SUCCESS = "1";


	public static final String HTTPSTATUS_FAIL = "0";


	public static final int TMS_STATUS_SUCCESS = 0;


	public static final String MSG_NO_HEARTBEAT = "999999";


	public static final String message_send_mes = "M1";

	/**
	 * 报文中，MES系统代码
	 */
	public static final String MSG_MES_CODE = "G5";

	/**
	 * 报文中，天车系统代码
	 */
	public static final String MSG_CAR_CODE = "FG";

	/**
	 * 报文中，传送功能码
	 */
	public static final String MSG_TRANSFER_CODE_C = "C";


	/**
	 * 报文中，传送功能码
	 */
	public static final String MSG_TRANSFER_CODE_A = "A";





	/**
	 * MES报文通讯中，心跳信息报文尾
	 */
	public static final String MSG_END_CODE = "\n";


	/**
	 * 任务完成电文号
	 */
	public static final String COMPLETE_MSG_NO = "G5FG02";


	public static final String TASK_MSG_NO = "G5FG01";






	public static final String STRING_LABEL = "label";

	public static final String STRING_SN = "sn";


	public static final String FINISH_LABEL = "任务完成";


	public static final String MOVE_LABEL = "允许移动";

	public static final String CAR_RUNNING_LABEL = "大车运行条件";




	public static final String WEIGHT_LABEL = "重量";


	public static final String SUCK_FINISH_LABEL = "吸料任务完成";


	public static final String PUT_FINISH_LABEL = "放料任务完成";


	public static final String MOVE_FINISH_LABEL = "避让任务完成";


	public static final String CAR_X_INDEX_LABEL = "大车实时坐标";

	public static final String CAR_MODEL_LABEL = "自动模式";

	public static final String CAR_MOVE_LABEL = "任务运行";





	public static final String CONFIG_CAR_BAK_SN = "config_car_bak_sn";

	public static final String TANK_CAR_SN_VAL = "BakS_e7fdbf40925a49a897761645eaba4977";



	public static final String STRING_CARNO = "carNo";


	public static final String STRING_ID = "id";


	public static final String STRING_GATENAME = "gateName";


	public static final String COLOR_BLUE = "蓝色";



	public static final String CHINESE_GANG = "钢";


	/**
	 * 禁止移动
	 */
	public static final String FORBID_MOVE = "0";



	/**
	 * 状态：0  无效
	 */
	public static final String STATUS_0 = "0";


	/**
	 * 状态：1  无效
	 */
	public static final String STATUS_1 = "1";



	public static final String STRING_CURRENTVAL = "currentVal";


	public static final String AREA_STATUS_EFFECTIVE = "Y";


	public static final String AREA_STATUS_UNEFFECTIVE = "N";


	public static final String MATERIAL_AREA_PARAM_REDIS_PREFIX = "GetPointFun";



	public static final String MATERIAL_AREA_RESULT_REDIS_PREFIX = "GetPointFunResult";



	public static final String LIFTING_HIGHEST_LABEL = "起升最高位";


	/**
	 * 库区扫描正常状态值
	 */
	public static final String AREA_SCANNER_NORMAL_STATUS = "连接";


	/**
	 * 扫描仪断电值
	 */
	public static final String AREA_SCANNER_OUTAGE = "true";


	/**
	 * 扫描仪上电值
	 */
	public static final String AREA_SCANNER_ENERGIZE = "false";


	public static final String AREA_SCANNER_REDIS_STATUS_PREFIX = "DeviceStatusInfo";


	public static boolean VISIT_MODEL_FLAG;


	public static String LABEL_TASK_PAUSE = "任务暂停";


	public static String LABEL_FAULT_SET = "故障复位";


	public static String FAULT_SET_ADDRESS = "M202.7";




}
